package com.lvmama.pangolin.lmm.service;

import java.util.Date;
import java.util.List;

import com.github.pagehelper.PageInfo;
import com.lvmama.pangolin.entity.ProductConditionVO;
import com.lvmama.pangolin.entity.lmm.LMMTicketCommodity;
import com.lvmama.pangolin.entity.lmm.LMMTicketProduct;


public interface LMMTicketProductService
{
	public int deleteByPrimaryKey(String id);

	public int deleteByByProdId(String product_id);

	public int insert(LMMTicketProduct record);

	public int insertSelective(LMMTicketProduct record);

	public LMMTicketProduct selectByPrimaryKey(String id);

	public List<LMMTicketProduct> selectByProdId(String product_id);
	
	public LMMTicketProduct selectByProductId(String productId);
	public int updateByPrimaryKeySelective(LMMTicketProduct record);
	
	public int updateByProdIdSelective(LMMTicketProduct record);

	public int updateByPrimaryKey(LMMTicketProduct record);
	
	public List<LMMTicketProduct> getAllList(ProductConditionVO sc);
	public List<LMMTicketProduct> getAllList();

	public LMMTicketProduct selectByCompany(String company);
	public void saveProductInfo(LMMTicketProduct prod,List<LMMTicketCommodity> commodityList , Date date);
	
}
